package org.zhigong.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Administrator on 2018/5/3 0003.
 */
@Controller
@RequestMapping("/main")
public class MainController {
    // 返回主页
    @RequestMapping
    public String init(Model model){
        return "common/main";
    }
}
